package com.example.product.ciao;
public class Global
{
  public static String[] BackScreen = new String[20];
  public static final int STACK_MAX_LAYER = 20;
  public static int index = 0;
  public static Boolean shakeFlg = Boolean.valueOf(true);
  
  public static String GetCurrentBackScreen()
  {
    return BackScreen[index];
  }
  
  public static Boolean GetShakeFlg()
  {
    return shakeFlg;
  }
  
  public static String Pop()
  {
    if (index > 0)
    {
      index = -1 + index;
      return BackScreen[(1 + index)];
    }
    return null;
  }
  
  public static void Push(String paramString)
  {
    if (index < 20)
    {
      index = 1 + index;
      BackScreen[index] = paramString;
    }
  }
  
  public static void SetShakeFlg(Boolean paramBoolean)
  {
    shakeFlg = paramBoolean;
  }
}
